'use strict';

var _nouislider = require('nouislider');

var _nouislider2 = _interopRequireDefault(_nouislider);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

window.__noUiSlider = _nouislider2.default;
(function () {
    var template = function template(self) {
        return '<div slider></div>  ';
    };

    document.auiDefineElement("aux-range-slider", {
        template: template,
        props: {},
        created: function created(self) {
            self.$ele.root = self.children[0];
            _nouislider2.default.create(self.$ele.root, {
                start: 0,
                step: 1,
                range: {
                    'min': 0,
                    'max': 100
                }
            });
        }
    });
})();